package com.gitee.yannzh.rune.support.fs.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.NoArgsConstructor;

@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Data
@NoArgsConstructor
public class Search {



    /**
     * 显示或隐藏查
     */
    private Boolean show;


    private Integer order; //列排序号，数字越小越靠前排列。

    private Integer labelWidth; //formItem配置，支持el-form-item,a-form-item,n-form-item的配置


    private Col col;

    /**
     *  是否在该字段变化时触发自动查询
     *  boolean | 'input' 输入触发 | 'change' 变化时触发 | 'enter' 回车键触发
     */
    private String autoSearchTrigger;

    public Search(Boolean show) {
        this.show = show;
    }
}